package com.tjl.warehouse.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 入库单
 * @TableName in_store
 */
@TableName(value ="in_store")
@Data
public class InStore implements Serializable {
    /**
     * 
     */
    @TableId(value = "ins_id", type = IdType.AUTO)
    private Integer insId;

    /**
     * 
     */
    @TableField(value = "store_id")
    private Integer storeId;

    @TableField(exist = false)
    private String productName;
    @TableField(exist = false)
    private String storeName;
    @TableField(exist = false)
    private String userCode;
    @TableField(exist = false)
    private BigDecimal inPrice;

    /**
     * 
     */
    @TableField(value = "product_id")
    private Integer productId;

    /**
     * 
     */
    @TableField(value = "in_num")
    private Integer inNum;

    /**
     * 
     */
    @TableField(value = "create_by")
    private Integer createBy;

    /**
     * 
     */
    @TableField(value = "create_time")
    private String createTime;

    /**
     * 0 否 1 是
     */
    @TableField(value = "is_in")
    private String isIn;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}